<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : order.xsl
    Created on : November 24, 2012, 1:31 PM
    Author     : Administrator
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output method="xml" indent = "yes"/>

    
    <xsl:template match="/">
        <fo:root>
            <fo:layout-master-set>
                <fo:simple-page-master master-name="A4-portrait"
                    page-height="29.7cm" page-width="21.0cm" margin="2cm">
                    <fo:region-body/>
                </fo:simple-page-master>
            </fo:layout-master-set>
            <fo:page-sequence master-reference="A4-portrait">
                <fo:flow flow-name='xsl-region-body'>
                    <fo:block>
                            Name:
                        <xsl:value-of select=""/>
                            Address:
                        <xsl:value-of select=""/>
                            Order Date:
                        <xsl:value-of select=""/>
                    </fo:block>

                    <fo:table-and-caption>
                        <fo:table>
                            <fo:table-column column-width="5m"/>
                            <fo:table-column column-width="10mm"/>
                            <fo:table-column column-width="15mm"/>
                            <fo:table-column column-width="5mm"/>
                            <fo:table-column column-width="10mm"/>
                            <fo:table-column column-width="10mm"/>

                            <fo:table-header>
                                <fo:table-row>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold">No</fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold">ISBN</fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold">Title</fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold">Quantity</fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold">Base Price</fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell>
                                        <fo:block font-weight="bold">Subtotal</fo:block>
                                    </fo:table-cell>
                                </fo:table-row>
                            </fo:table-header>

                            <fo:table-body>
                                
                                    
                                    <fo:table-row>
                                        <fo:table-cell>
                                            <fo:block>
                                
                                            </fo:block>
                                        </fo:table-cell>
                                        <fo:table-cell>
                                            <fo:block>
                                                
                                            </fo:block>
                                        </fo:table-cell>
                                    </fo:table-row>
                            </fo:table-body>

                        </fo:table>
                    </fo:table-and-caption>
                </fo:flow>
            </fo:page-sequence>
        </fo:root>
    </xsl:template>

</xsl:stylesheet>


